<div class="nav">
    <a class="sel" href="{:U('index')}">会员等级列表</a>
    <a href="{:U('add')}">编辑会员等级</a>
</div>
<div class="add">
    <form method="post" action="" >
        <table class="table_add">
            <tr>
                <td width="100px">会员等级名称</td>
                <td><input class="input1" type="text" name="level_name" id="level_name" value="{$model.level_name}" style="width:140px" /> </td>
            </tr>
            <tr <if condition="$model['level_id'] eq 1"> style="display:none" </if>>
                <td width="100px">经验值要求</td>
                <td><input class="input1" type="text" name="point_up" id="point_up" value="{$model.point_up}" style="width:50px" /> </td>
            </tr>
            <tr>
                <td width="100px">折扣率</td>
                <td><input class="input1" type="text" name="discount" id="discount" value="{$model.discount}" style="width:50px" />%</td>
            </tr>
            <tr>
                <td>等级图标</td>
                <td>
                <include file="Public/uploadfile" filetype="image" id="ico"  value="{$model.ico}" editvalue="{:getEditFiles($model['ico'])}" width="100" path="index" limit="1" thumbw="" thumbh="" msg=""/>
                </td>
            </tr>
            <tr>
                <td></td>
                <td><input type="submit" class="btn1" value="提 交" /> &nbsp; <input class="btn4" type="reset" value="重 置" /> &nbsp; <input class="btn3"  type="button" onclick="window.history.back()" value="返 回" /></td>
            </tr>
        </table>
        <input type="hidden" name="level_id" value="{$model.level_id}" />
    </form>
</div>
